<div ng-include src="'tpl/public/header.html'"></div> 
<div class="contents">
  <ol class="breadcrumb">
    <li><a href="#/index/panel">首页</a></li>
    <li class="active">私募公司列表</li>
  </ol>
  <form class="form-inline search-box" role="form" ng-submit="search()" novalidate>
    <div class="form-group">
      <label class="sr-only" >公司名称</label>
      <input type="text" class="form-control" placeholder="公司名称" ng-model="searchMap.gsmc">
    </div> 
    <button type="submit" class="btn btn-default">查询</button>
  </form>
  <table class="table table-striped table-hover">
    <thead>
      <tr>
        <th width="80">ID</th>
        <th>公司名称</th>
        <th width="150">公司编码</th>
        <th width="100">成立日期</th>
        <th width="150">注册资本</th>
        <th width="100">所在地</th>
        <th width="300">操作</th>
      </tr>
    </thead>
    <tbody>
      <tr ng-repeat="item in list">
        <td>{{item.id}}</td>
        <td>
          <a href="#/simu/company/view?id={{item.id}}">{{item.gsmc}}</a>
        </td>
        <td>{{item.jjgsbm}}</td>
        <td>{{item.clrq | date:'yyyy-MM-dd'}}</td>
        <td>{{item.zczb}}</td>
        <td>{{item.szd}}</td>
        <td class="optd">
         <!-- <a href="#/simu/company/view?id={{item.id}}" has-auth where="btn" who="SIMU_COMPANY_QUERY">详情</a>   -->
          <a href="#/simu/company/edit?id={{item.id}}" has-auth where="btn"  who="SIMU_COMPANY_EDIT" >编辑</a>
          <a ng-click="remove(item.id)" has-auth where="btn"  who="SIMU_COMPANY_REMOVE" class="cur-p" ng-confirm-click="请确认操作?">删除</a>
          <!--
          <a href="#/simu/list?jjgs={{item.id}}" has-auth where="btn" who="PRODUCT_EDIT" owner="{{item.createBy}}">基金列表</a>
          <a href="#/simu/manager/list?jjgs={{item.id}}" has-auth where="btn" who="PRODUCT_EDIT" owner="{{item.createBy}}">经理列表</>
          -->
        </td>
      </tr>
    <tbody>
  </table>

	<div class="pager-box" ng-include src="'tpl/public/pager.html'" ng-show="list.length > 0"></div>
</div> 
